﻿@model DoeLibsMVC.Models.LoginModel

@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="formDesignDiv">
    @using (Html.BeginForm("Login", "Authentification", FormMethod.Post))
    {
		<table class="formTable">
			<tbody>
				<tr>
					<td>
						@Html.LabelFor(model => model.EMail)
					</td>
					<td>
						<div>
							@Html.TextBoxFor(model => model.EMail, new { @class = "generalTxtBox", @placeholder = "e-mail" })
							@Html.ValidationMessageFor(model => model.EMail)
						</div>
					</td>
				</tr>
				<tr>
					<td>
						@Html.LabelFor(model => model.Password)
					</td>
					<td>
						<div>
							@Html.TextBoxFor(model => model.Password, new { @class = "generalTxtBox", @placeholder = "password", @type = "password" })
							@Html.ValidationMessageFor(model => model.Password)
						</div>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<input type="submit" value="log in" class="generalBtn sideMargins10" />
                        <a class="generalBtn buttonATag" href="~/Authentification/Register">register</a>
					</td>
				</tr>
			</tbody>
		</table>
    }
</div>

